package com.design.model;

/**
 * 建造者抽象类
 *
 * @author lw
 * @date 2023/12/1 14:34
 **/
public abstract class HouseBuilder {

    protected House house = new House();

    public abstract void buildFoundation();
    public abstract void buildStructure();
    public abstract void buildRoof();
    public abstract void buildInterior();

    public House getHouse() {
        return house;
    }
}
